package org.example.blog.services;

import org.example.blog.entities.Comment;
import org.example.blog.entities.Post;

import java.util.List;

// DTO类用于返回文章详情
public class BlogPostDetail {
    private Post post;
    private List<Comment> comments;

    // Getters and Setters
    public Post getPost() {
        return post;
    }

    public void setPost(Post post) {
        this.post = post;
    }

    public List<Comment> getComments() {
        return comments;
    }

    public void setComments(List<Comment> comments) {
        this.comments = comments;
    }
}
